package com.mftour.moudles.service;

import com.mftour.moudles.entity.ConsolePermission;
import com.mftour.moudles.entity.ConsolePermissionDetail;

import java.util.List;

public interface ConsolePermissionService extends BaseService<ConsolePermission, Integer> {

	List<ConsolePermissionDetail> selectMenuPermissionByUserId(Integer userId);

	void refreshAllPermissions();

	void refreshAllUserMenuPermissions();

	String checkDelAble(Integer permissionId);

	ConsolePermission getConsolePermissionById(Integer permissionId);
}